<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@taglib  prefix="s" uri="/struts-tags" %>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
	<title></title>
	<link rel="stylesheet" href="../jquery/jquery.mobile-1.0a4.1.min.css" />
	<link rel="stylesheet" href="../css/category_style.css"/>
	<script  src="../jquery/jquery-1.5.2.min.js"></script>
    <script  src="../jquery/jquery.mobile-1.0a4.1.min.js"></script>
    <script src="category_maint.js"></script>

</head> 
<body>
<div data-role="page" id="album-list">

	<div id="header" data-role="header" data-theme="b">
		欢迎进入类别管理页面
	</div><!-- /header -->
	
	
	<div data-role="content">
		
		<ul data-role="listview" data-split-icon="gear" data-split-theme="d" data-filter="true" data-inset="true">
			
			<a id="add" data-role="button" data-icon="Plus"  data-iconpos="notext" style="margin: 2px;float: right;" >添加</a> 
			<a id="home"  data-role="button" data-icon="home" data-iconpos="notext" style="margin: 2px;" >回退</a> 
			<s:iterator value="siteCategoryList">
			<li>
				<a onclick="location.href='find.action?command=modify&siteCategory.categoryNo=<s:property value="categoryNo" />'" > 
					<h3>名称：<s:property value="categoryName" /></h3>
					<p>描述：<s:property value="categoryDesc" /></p>
				</a>
				<a onclick="location.href='find.action?command=delete&siteCategory.categoryNo=<s:property value="categoryNo" />'" data-rel="dialog" data-role="button" data-iconpos="top" data-icon="delete">删除</a>
			</li>
			</s:iterator>
			
		</ul>
	</div><!-- /content -->
</div><!-- /page -->

</body>
</html>